package com.biz.service.basic;

import com.biz.model.Hmodel.basic.Tagent;
import com.biz.model.Pmodel.User;
import com.biz.model.Pmodel.api.OrderMain90;
import com.biz.model.Pmodel.basic.Pagent;
import com.biz.model.Pmodel.basic.PagentTree;
import com.biz.model.Pmodel.sys.Dynamic;
import com.biz.service.base.BaseServiceI;
import com.framework.model.Paging;
import com.framework.model.Params;

import java.util.List;
import java.util.Map;

/**
 * 社区动态Service
 * Created by wxs on 2017/1/6.
 */
public interface DynamicServiceI extends BaseServiceI<Tagent> {
 /**
  * 分页查询所有社区动态
  * @return
  * @throws Exception
  */
   Paging findDynamicGrid(Params sqlParams);
 /**
  * 保存社区动态
  * @param Dynamic
  * @throws Exception
  */
  void saveDynamic(Dynamic Dynamic) throws Exception;
 /**
  * 修改社区动态
  * @param Dynamic
  * @throws Exception
  */
    void updateDynamic(Dynamic Dynamic) throws Exception;
 /**
  * 根据id查询社区动态
  * @param  id
  * @return Pagent
  * @throws Exception
  */
    Dynamic findById(String id)throws Exception;
 /**
  * 批量删除
  * @param  ids
  * @throws Exception
  */
  void delDynamicById(String ids) throws Exception ;

}
